package com.jsyl.web.quartz;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import com.jsyl.infra.utils.Constants;

@Component
public class QuartzDemo {
	
	@Scheduled(cron = Constants.QUARTZ_CRONEXPRESSION)
	public void quartzTest(){
		System.out.println("定时任务测试……");
	}

}
